﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Dto.YS
{
    public class ErpNeedReceivingOrderDetail
    {
        /// <summary>
        /// 入库单编号
        /// </summary>
        public string OrderSn { get; set; }

        /// <summary>
        /// 单据类型 
        /// </summary>
        public int? BillType { get; set; }

        /// <summary>
        /// 库房名称
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// erp的单据类型
        /// </summary>
        public string ErpBillType { get; set; }

        /// <summary>
        /// 库区名称
        /// </summary>
        public string AreaName { get; set; }

        /// <summary>
        /// 物料号
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }

        /// <summary>
        /// 期待数量：即订单数量，为基本单位的数量(基本单位入库数量)
        /// </summary>
        public decimal? Qty { get; set; }

        /// <summary>
        /// 物料基本单位
        /// </summary>
        public string UnitName { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchNo { get; set; }

        /// <summary>
        /// 仓位名称
        /// </summary>
        public string LocationName { get; set; }

        /// <summary>
        /// 垛条码
        /// </summary>
        public string PalletBarcode { get; set; }

        /// <summary>
        /// 状态：0-新建;1-已启动;2-作业中;3-已完成;4-强制完成;5-暂停;6-失效；7-异常
        /// </summary>
        public int Status { get; set; } = 0;

        public string CreateDates { get; set; }
    }
}
